import Layout from '@/components/core/layout'

const router = {
  path: '/peers',
  name: 'peers',
  meta: {
    title: 'peers',
    icon: 'mdi-account-multiple',
  },
  component: Layout,
  redirect: '/peers/customer',
  children: [
    {
      path: 'customer',
      name: 'customer',
      component: () => import('@/views/peers/customer'),
      meta: {
        title: 'customer'
      }
    },
    {
      path: 'guide',
      name: 'guide',
      component: () => import('@/views/peers/guide'),
      meta: {
        title: 'guide'
      }
    },
    {
      path: 'driver',
      name: 'driver',
      component: () => import('@/views/peers/driver'),
      meta: {
        title: 'driver'
      }
    },
    {
      path: 'shopping',
      name: 'shopping',
      component: () => import('@/views/peers/shopping'),
      meta: {
        title: 'shopping'
      }
    }
  ]
}

export default router
